package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BasePayItemFormSelect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 支出事项-表单标准项-下拉选择
 *
 * @author
 * @email
 * @date 2023-11-02 09:03:31
 */
@Mapper
public interface BasePayItemFormSelectDao {

    int save(BasePayItemFormSelect basePayItemFormSelect);

    int update(BasePayItemFormSelect basePayItemFormSelect);

    int delete(String id);

    int deleteByFormId(String payitemFormId);

    BasePayItemFormSelect findById(String id);

    BasePayItemFormSelect findDefaultByFormId(String payitemFormId);

    List<BasePayItemFormSelect> findByFormId(@Param("payitemFormId") String payitemFormId, @Param("keyword") String keyword);

}
